using Avalonia;
using Avalonia.Controls;

namespace WeChat.Controls;

public sealed class ChatTabItem : TabItem
{
    public static readonly StyledProperty<bool> IsRightProperty = AvaloniaProperty
        .Register<MessageContent,
            bool>(
            nameof(IsRight));

    /// <summary>
    /// 显示在右边
    /// </summary>
    public bool IsRight
    {
        get => GetValue(IsRightProperty);
        set => SetValue(IsRightProperty, value);
    }
}